import { Model } from "sequelize-typescript";
import { AritcleType } from "./article.model";
import { Table, Column } from './decorate';

@Table({
    underscored: true,
    underscoredAll: true,
    timestamps: true,
    paranoid: true,
})
export default class Category extends Model<Category> { 
    @Column
    name !: string ;
    @Column
    type !: AritcleType ;
}
